package com.system.insurance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 充值发布次数记录
 * </p>
 *
 * @author WS
 * @since 2024-05-21
 */
@Data
@ApiModel(description = "充值发布次数记录")
@TableName("release_record")
//@EqualsAndHashCode(callSuper = false)
public class ReleaseRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * 用户Id
     */
    @ApiModelProperty(value = "用户Id")
    @TableField("applet_user_id")
    private Integer appletUserId;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    @TableField("order_number")
    private String orderNumber;

    /**
     * 发布次数
     */
    @ApiModelProperty(value = "发布次数")
    @TableField("number")
    private Integer number;

    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额")
    @TableField("price")
    private BigDecimal price;

    /**
     * 0:未支付，1支付成功
     */
    @ApiModelProperty(value = "0:未支付，1支付成功")
    @TableField("start")
    private Integer start;

//    /**
//     * 支付时间
//     */
//    private LocalDate createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDate updateTime;


}
